<!DOCTYPE html>

<html>
  
  <head>
     <title> Zad 1 </title>
  </head>
  
<body>
<?php

$sum = 0;
$a = mt_rand(0,50);
$b = mt_rand(0,50);
$c= 0;
if ($a > $b)
{
	$c = $a;
	$a = $b;
	$b = $c;
}
echo $a." ".$b."</br>";
echo "<table> <tr>";
for($i = $a;$i<=$b;$i++)
{
	if($sum>200)
		break;
   if($i%3!==0)
   {
   	$sum = $sum+$i*$i;
   	echo "<td>".$i*$i.",</td>";
   }
   else
    {
   echo "<td> skip $i, </td>";
   }
  
}   

echo "</tr> </table>";
?>
</body>

</html>